package it.ap.sa.core.dao.beans.search;

import java.util.List;

/**
 * Bean contenente i filtri di ricerca della tabella u_runtime_policy {@link TRuntimePolicy}
 * 
 * @author marianna
 */
public class SearchPolicyFilter extends RequestData {

	private static final long serialVersionUID = 1L;
	
	/**
	 * Identificativo interno
	 */
	private String id;
	/**
	 * Stati elaborazione policy
	 */
	private List<String> states;
	
	
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	 
	/**
	 * @return the states
	 */
	public List<String> getStates() {
		return states;
	}
	/**
	 * @param states the states to set
	 */
	public void setStates(List<String> states) {
		this.states = states;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return String.format("SearchPolicyFilter [id=%s, userId=%s, states=%s]", id, states);
	}
	
}
